import { WebGLRenderer } from "../three_lib/three.module.min.js";

function createRenderer() {
    /* 渲染器 { antialias: true }抗锯齿*/
    const renderer = new WebGLRenderer({ antialias: true });
    /* 打开照明 */
    renderer.physicallyCorrectLights = true;
    return renderer;
}

export { createRenderer }